<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>

<html>
<body>
<rad:useBean id="organizationViewHelper"/>

<div id="portal-left-bar">
    <jsp:include page="../../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
    <portal:box title="Register" style="width:800px" align="center">
        <portal:subSection title="Please enter your personal information">
            <div id="register">
                <html:form action="user/inprocess.do" method="post">
                    <div id="register-fields">
                        <p><label><b>First Name:</b></label>
                            <html:text property="firstName" maxlength="50"/></p>

                        <p><label><b>Last Name:</b></label>
                            <html:text property="lastName" maxlength="50"/></p>

                        <p><label><b>COMM:</b></label>
                            <html:text property="commPhone" maxlength="50"/></p>

                        <p><label><b>DSN:</b></label>
                            <html:text property="dsnPhone" maxlength="50"/></p>

                        <p><label><b>Email:</b></label>
                            <html:text property="email" maxlength="50"/></p>

                            <%--                    <p><label><b>Organization:</b></label>
                          <html:text property="organization" maxlength="50"/></p>--%>
                        <p><label>Organization</label>
                            <html:select property="organizationId">
                                <html:optionsCollection name="organizationViewHelper"
                                                        filter="false"
                                                        property="all"
                                                        label="name"
                                                        value="id"/>
                            </html:select>

                        </p>
                    </div>
                    <br>

                    <div class="buttons">
                        <html:submit value="Register" styleClass="button"/>
                    </div>
                </html:form>
            </div>
        </portal:subSection>
    </portal:box>
</div>
</body>
</html>
